package com.itheima.jobs;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.service.OrderSettingService;
import org.springframework.stereotype.Component;

/**
 * @author heyixin
 * @version v1.0
 * @date 2020/2/12 20:31
 * @description   定时清理预约设置历史数据
 **/
@Component
public class ClearBookingData {
    @Reference
    OrderSettingService orderSettingService;

    public void doClearBookingData(){

        orderSettingService.doClearBookingData();
    }
}
